<?php
class Api_Form_Static extends Zend_Form {
	public function __construct($value = null, $options = null) {
		parent::__construct ( $options );
		$this->addElement ( 'text', 'title', array ("required" => true, "label" => "Title" ) )->addElement ( 'textarea', 'content', array ("required" => true, "class" => "cleditor", "label" => "Content" ) )->addElement ( 'text', 'url', array ("required" => true, "validators" => array (array ("regex", false, "/^[a-z]{4,18}$/" ) ), "label" => "Url" ) )->addElement ( 'submit', 'Submit' );
	}
}